package com.ruoyi.coffee.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * @author dxj
 * @Description login请求参数
 * @date 2024/12/22 11:17
 */
@Data
@ApiModel(description = "用户登录Dto")
public class LoginDto {
    /**
     * appid
     */
    @ApiModelProperty(value = "appid", required = true, example = "wx12fd")
    private String appid;
    /**
     * 临时登录凭证
     */
    @ApiModelProperty(value = "临时登录凭证", required = true, example = "kaeijdndadex")
    private String code;
    /**
     * 初始向量用于对称加密算法
     */
    @ApiModelProperty(value = "初始向量用于对称加密算法", required = true)
    private String iv;
    /**
     * 未加密的用户信息字符串
     */
    @ApiModelProperty(value = "未加密的用户信息字符串", required = true)
    private String rawData;
    /**
     * 验证rawData完整性和有效性的签名
     */
    @ApiModelProperty(value = "验证rawData完整性和有效性的签名", required = true)
    private String signature;
    /**
     * 用户敏感信息的加密数据
     */
    @ApiModelProperty(value = "用户敏感信息的加密数据", required = true)
    private String encryptedData;
}
